package com.example.service;

import com.example.mapper.PersonMapper;
import com.example.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @ClassName UserService
 * @Description
 * @Author Yin
 * @Date 2021/4/8 15:21
 * @Version 1.0
 */
@Component
public class UserService {

    @Autowired
    UserMapper userMapper;
    @Autowired
    PersonMapper personMapper;

    public void test(){
        System.out.println(userMapper.test());
        System.out.println(personMapper.getOrders());
    }
}
